package com.mo.mapper;

import com.mo.entity.Menu;
import com.mo.entity.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【sys_role_menu】的数据库操作Mapper
 * @createDate 2025-01-10 11:10:27
 * @Entity com.mo.entity.RoleMenu
 */
@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    List<Menu> getMenuByRoleId(@Param("roleId") int roleId);
}




